package cn.doways.api.dto;


import java.util.Date;

/**
 * @ClassName Userinfo
 * @Description //TODO
 * @Author shellming
 * @Date 2019-08-16 17:42
 **/

public class Userinfo<T>{
    private String id;
    private T data;
    private String name;
    private String sex;
    private String avatar;
    private String nation;
    private Date birthday;
    private String politics;
    private String introduction;

    public Userinfo() {

    }

    public Userinfo(String id, T data, String name, String sex, String avatar, String nation, Date birthday, String politics, String introduction) {
        this.id = id;
        this.data = data;
        this.name = name;
        this.sex = sex;
        this.avatar = avatar;
        this.nation = nation;
        this.birthday = birthday;
        this.politics = politics;
        this.introduction = introduction;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPolitics() {
        return politics;
    }

    public void setPolitics(String politics) {
        this.politics = politics;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
